package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.entity.Course;

import java.util.List;

public interface CourseService {

    void addCourse(Course course);

    PageResult<Course> page(String name, Integer subject,  Integer status, Integer page, Integer pageSize);

    Course selectId(Integer id);

    void updateCourse(Course course);

    void deleteCourse(Integer id);

    List<Course> list();

    List<Course> selectSubject(Integer subject);
}
